package com.lavida.project.system.goods.domain;

import java.sql.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class SubGoods {
	private int id;
	private String fen_company;
	private String dept;
	private String groups;
	private String name;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date date;
	private String operateType;
	private Integer amount;
	private Integer subId;
	public SubGoods() {
		super();
	}
	public SubGoods(int id,String fen_company, String dept, String groups, String name, Date date, String operateType,
			Integer amount, Integer subId) {
		super();
		this.id = id;
		this.fen_company = fen_company;
		this.dept = dept;
		this.groups = groups;
		this.name = name;
		this.date = date;
		this.operateType = operateType;
		this.amount = amount;
		this.subId = subId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFen_company() {
		return fen_company;
	}
	public void setFen_company(String fen_company) {
		this.fen_company = fen_company;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getGroups() {
		return groups;
	}
	public void setGroups(String groups) {
		this.groups = groups;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getOperateType() {
		return operateType;
	}
	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}
	@Override
	public String toString() {
		return "SubGoods [id=" + id + ", fen_company=" + fen_company + ", dept=" + dept + ", groups=" + groups
				+ ", name=" + name + ", date=" + date + ", operateType=" + operateType + ", amount=" + amount
				+ ", subId=" + subId + ", getId()=" + getId() + ", getFen_company()=" + getFen_company()
				+ ", getDept()=" + getDept() + ", getGroups()=" + getGroups() + ", getName()=" + getName()
				+ ", getDate()=" + getDate() + ", getOperateType()=" + getOperateType() + ", getAmount()=" + getAmount()
				+ ", getSubId()=" + getSubId() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode()
				+ ", toString()=" + super.toString() + "]";
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getSubId() {
		return subId;
	}
	public void setSubId(Integer subId) {
		this.subId = subId;
	}
	

	
}
